If OCPN is starting after a crash, and the “Safe Mode” prompt pops up, selecting “YES” only disables plugin loading and that is all it does.
The “safe mode” logic was designed and implemented to protect against rogue plugins only, and that is all it is meant to do. No other run-time configurations should be affected by the choice of “yes” to the dialog.
Beware RPI 4: Answering “yes” rewrote the config file removing all chart locations.(currently, will be fixed in next release)
See the PR for Save Mode
Add a new command line option --safe_mode. (This CLI will also turn off OpenGL.) Check if last opencpn run failed and offer user to run in safe mode if so. In safe mode, disable plugin loading and OpenGL.
There are ideas to also block Connections in safe mode. This is not implemented.
This can save work!
On a regular basis, when O is going smoothly:
One example, when the “safe mode” has hit you :
O will rebuild database on next start, et voilà ! (not an ideal solution, but it works !)